from django.urls import re_path
from posts.consumers import PostSyncConsumer

websocket_urlpatterns = [
    re_path(r'ws/post_sync/$', PostSyncConsumer.as_asgi()),
    re_path(r'ws/posts/global/$', PostSyncConsumer.as_asgi()),
]